/**
 * 
 */
package com.itinsys.enma.util.impl;

import java.util.Properties;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import com.itinsys.enma.util.InternalMessageService;

/**
 * @author pferraz
 *
 */
public class InternalMessageServiceImpl implements InternalMessageService {

		
	@Autowired
	@Qualifier("messages")
	private Properties messages;
	
	/**
	 * 
	 */
	public InternalMessageServiceImpl() {
		// TODO Auto-generated constructor stub
	}

	public String getMessage(String message) {
		// TODO Auto-generated method stub
		return this.messages.getProperty(message);
	}

	
	

}
